getOrNull

open override fun getOrNull(): Nothing?

Gets the value of a Success or null if this is a Failure.

Return

Value of a Success or null.